package com.common.rabitmq;

//延迟时长
public class RabbitmqTime {

    /**
     *
     * @param seconds 秒
     * @return
     */
    public static Integer seconds(int seconds) {
        return seconds * 1000;
    }

    public static Integer minute(int minute) {
        return minute * 60 * 1000;
    }

    public static Integer Hour(int Hour) {
        return Hour * 60 * 60 * 1000;
    }


}
